package com.lzdongrui.backend.mapper;

import com.lzdongrui.backend.domain.vo.NameNumberVO;
import com.lzdongrui.system.domain.SysUserRole;
import org.apache.ibatis.annotations.Param;

public interface IndexMapper {

    public SysUserRole selUserRole(@Param("userId") Long userId, @Param("roleKey") String roleKey);

    public NameNumberVO selStuLeaveNumber(@Param("instructor") Long instructor, @Param("collegeId") Long collegeId, @Param("isAtSchool") int isAtSchool);

    public NameNumberVO selHasReviewedNumber(@Param("instructor") Long instructor, @Param("collegeId") Long collegeId);

    public NameNumberVO selUnreviewedNumber(@Param("instructor") Long instructor, @Param("collegeId") Long collegeId);

    public NameNumberVO selAssessmentTodayBackNumber(@Param("instructor") Long instructor, @Param("collegeId") Long collegeId);

    public NameNumberVO selUnEliminateNumber(@Param("instructor") Long instructor, @Param("collegeId") Long collegeId);
}
